<?php
/*
* @Descripttion: 测试
* @Author: jiosen <4631458@qq.com>
* @Date: 2024-06-18 10:25:45
*/

namespace app\controller;
use app\BaseController;
use plugins\Base;
use plugins\test\Main;
use think\facade\Cache;

class Test extends BaseController
{
    public function index()
    {
        $res = (new Main('test'))->handle([]);
        return $this->success($res );
    }

    public function test()
    {
        $plugins = (new Base('test'))->getPlugins();
        

        dump($plugins,(new Base('test'))->getInstallPlugins());


    }
}